package com.service;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

import com.model.Result;
import jxl.write.WriteException;
import jxl.write.biff.RowsExceededException;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import com.model.Login;
import com.util.PagedRequest;
import com.util.PagedResult;

public interface LoginService {
	public String test();
	public Login getLogin(int id);
	public PagedResult<Login> getAllLogin(PagedRequest pagedRequest);
	public int update(Login login) ;
	public int add(Login login) ;
	public int delete(int id) ;
	public HSSFWorkbook ext() throws IOException, RowsExceededException, WriteException, SecurityException, IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, NoSuchFieldException;
			int anser_insert(Result r);
			List<Result > getAnserAll();
}
